615a26e2ca4b2d2d0087b6a6836590e8b661ef30,src/functions/org/apache/jmeter/functions/StringFromFile.java,StringFromFile,openFile,#,139
Before Change
} catch(NumberFormatException e) {
myStart = COUNT_UNUSED;// Don't process invalid numbers
// TODO Should this be a warning ?
if(log.isDebugEnabled()) {
if(StringUtils.isNumeric(start)) {
log.debug("Exception parsing "+start + " as int, value will not be considered as Start Number sequence");
}
}
}
After Change
myStart = Integer.parseInt(start);
} catch(NumberFormatException e) {
myStart = COUNT_UNUSED;// Don't process invalid numbers
log.warn("Exception parsing "+start + " as int, value will not be considered as Start Number sequence");
}
}
// Have we used myCurrent yet?